let classModel = require('./model/classModel');
let studentsModel = require('./model/studentsModel');
let teachersModel = require('./model/teachersModel');

getAllInfo = async () => {
    let classNumber = await classModel.count();
    let studentsNumber = await studentsModel.count();
    let teachersNumber = await teachersModel.count();
    return {
        classNumber,
        studentsNumber,
        teachersNumber
    }
}

module.exports = {
    getAllInfo
}